package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AgainGenerateImageRequest", description = "重新生成示意图")
public class AgainGenerateImageRequest {

    private static final long serialVersionUID = 6899941520186863137L;

    @ApiModelProperty(value = "规格主键id")
    @NotNull(message = "规格主键id不能为空")
    private Integer productAttrValueId;

    @ApiModelProperty(value = "提示词-800字符")
    private String garmentDes;

    @ApiModelProperty(value = "生成步数")
    @NotNull(message = "生成步数不能为空")
    private Integer denoiseSteps;

    @ApiModelProperty(value = "是否随机(true随机 false不随机)")
    private Boolean isRandomizeSeed;

    @ApiModelProperty(value = "种子")
    private Integer seed = 42;

    @ApiModelProperty(value = "生成图片的数量(1-4)")
    @NotNull(message = "生成图片的数量不能为空")
    private Integer numberOfImages;

}
